package com.atguigu.srb.core;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;


@SpringBootApplication
// 扫描所有的com.atguigu.srb下的容器
@ComponentScan({"com.atguigu.srb","com.atguigu.common"})
//@EnableDiscoveryClient
public class ServiceCoreApplication {
    public static void main(String[] args) {
            SpringApplication.run(ServiceCoreApplication.class,args);
    }
}
